<?php
	include('config.php');
	include('subject.php');
	new Config();
	$req = new Subject;
	$req->setAll($_GET['id'],$_GET['gid'],$_GET['tid'],$_GET['sid'],$_GET['number'],$_GET['name'],$_GET['credit'],$_GET['detail']);
	echo $req->edit();
?>